﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Forest.Web.Framework.Mvc;
using System.ComponentModel.DataAnnotations;

namespace Forest.Cat.Admin.Models.JobHunting
{
    public class JobAlertModel : BaseEntityModel
    {
        public int? JobType { get; set; }
        public int? Industry { get; set; }
        public int? PostedDuration { get; set; }
        public int? EducationLevel { get; set; }
        public int? Categories { get; set; }
        public int? YearsOfService { get; set; }
        public int? CompanyType { get; set; }
        public int? SalaryRange { get; set; }
        [Required(ErrorMessage = "搜索名称必须输入!")]
        public string Name { get; set; }
        public int? Frequency { get; set; }
        public int? Deliveries { get; set; }
        public bool IsRecommended { get; set; }
        public string JobTypeString { get; set; }
        public string PostedDurationString { get; set; }

        public string FrequencyName { get; set; }
        public DateTime? DateCreated { get; set; }
        public DateTime? LastUpdated { get; set; }
    }
}